package com.anyext.storage.group;

import java.util.Map;

import com.anyext.storage.dialect.Dialect;
import com.anyext.storage.policy.DataSourceType;
import com.anyext.storage.router.Router;

public interface Group {

	String getIdentity();

	Dialect getDialect();

	Router getRouter();

	GroupDescriptor getRoutingGroupDescriptor();

	GroupDescriptor getGroupDescriptor(String identity);

	Map<String, GroupDescriptor> getGroupDescriptors();

	Map<String, GroupDescriptor> getGroupDescriptors(DataSourceType type);

}
